﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="org.aiforum.backend.common.*,org.aiforum.backend.common.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>   
    <!-- 引入Sitemesh模板标签库 -->
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <base href="<%=basePath%>"> 
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>Ai论坛管理系统-<decorator:title></decorator:title></title>  
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/aiforum.js"></script>
    <script src="js/pintuer.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1><img src="<%=AdminHelper.getCurrentAdminHead(CookieHelper.getCookie("token", request)) %>" class="radius-circle rotate-hover" height="50" alt="" />Ai论坛管理系统</h1>
  </div>
  <div class="head-l">
  <a class="button button-little bg-green" href="index"><span class="icon-home"></span> 进入首页</a> &nbsp;&nbsp;
  <a class="button button-little bg-red" href="admin/logout"><span class="icon-power-off"></span>退出</a>&nbsp;&nbsp;</div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list">菜单</strong></div>
  <h2><span class="icon-user"></span>管理员模块</h2>
  <ul style="display:block">
    <li><a href="admin/list"><span class="icon-caret-right"></span>管理员管理</a></li>
  </ul>   
  <h2><span class="icon-pencil-square-o"></span>权限模块</h2>
  <ul>
    <li><a href="auth/list"><span class="icon-caret-right"></span>权限管理</a></li>
  </ul>
  <h2><span class="icon-pencil-square-o"></span>用户模块</h2>
  <ul>
    <li><a href="user/list"><span class="icon-caret-right"></span>用户管理</a></li>
  </ul>
  
  <h2><span class="icon-pencil-square-o"></span>版块模块</h2>
  <ul>
    <li><a href="plate/list"><span class="icon-caret-right"></span>版块管理</a></li>
  </ul>
  
  <h2><span class="icon-pencil-square-o"></span>帖子模块</h2>
  <ul>
    <li><a href="topic/list"><span class="icon-caret-right"></span>帖子管理</a></li>
    <li><a href="reply/list"><span class="icon-caret-right"></span>回帖管理</a></li>
  </ul>
  <h2><span class="icon-pencil-square-o"></span>消息模块</h2>
  <ul>
    <li><a href="contact/list"><span class="icon-caret-right"></span>留言管理</a></li>
    <li><a href="#"><span class="icon-caret-right"></span>邮件管理</a></li>
  </ul>    
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="#" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt"></a></li>
  <li>
  <b>当前语言：</b><span style="color:red;">中文</span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  切换：
  <a href="#">中文</a> &nbsp;&nbsp;
  <a href="#">English</a>
  </li>
</ul>
<div class="admin">
  
<decorator:body></decorator:body>
  
</div>
</body>
</html>